home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-10-26 | 1.5 KB | 49 lines | [TEXT/MPS ] |
- // Copyright © 1995 Apple Computer, Inc. All rights reserved.
- // Release Version: $ 1.0 d11 $
-
- #ifndef DULISTFRAME_H
- #define DULISTFRAME_H
-
- //=======================================================================
- // ----- Framework Includes -----
- #ifndef FWFRAME_H
- #include <FWFrame.h> // FW_CFrame
- #endif
-
- //=======================================================================
- class FW_CLASS_ATTR DU_CListPart;
- class FW_CLASS_ATTR DU_MSelectable;
- class FW_CLASS_ATTR DU_CListSelection;
-
- //=======================================================================
- class FW_CLASS_ATTR DU_CListFrame : public FW_CFrame {
- public:
- DU_CListFrame(Environment* ev,
- ODFrame* odFrame,
- FW_CPresentation* presentation,
- DU_CListPart* datasavePart);
- virtual ~DU_CListFrame();
- protected:
- // overrides
- virtual void Draw(Environment *ev,
- ODFacet* odFacet,
- ODShape* invalidShape);
- virtual FW_Boolean DoAdjustMenus(Environment* ev,
- FW_CMenuBar* menuBar,
- FW_Boolean hasMenuFocus,
- FW_Boolean isRoot);
- virtual FW_Boolean DoMenu(Environment* ev,
- const FW_CMenuEvent& theMenuEvent);
- virtual FW_Boolean DoMouseDown(Environment* ev,
- const FW_CMouseEvent& theMouseEvent);
- // new members
- virtual void SelectItemWithMouse(Environment *ev,
- const FW_CMouseEvent& theMouseEvent);
- private:
- DU_CListPart* fListPart;
- DU_CListSelection* fSelection;
- };
-
- //=======================================================================
- #endif
-